home *** CD-ROM | disk | FTP | other *** search
/ Dizionario Etimologico / ZINGARELLI Dizionario Etimologico (2000).iso / let_straniera.swf / scripts / DefineButton2_68 / BUTTONCONDACTION on(press).as next >
Text File  |  2000-11-30  |  289b  |  13 lines

  1. on(press){
  2.    scroll_target = "/testo";
  3.    bar_length = "256";
  4.    top = getProperty("/scroll_ball", _Y);
  5.    bottom = top + bar_length;
  6.    base_y = getProperty(scroll_target, _Y);
  7.    tellTarget("/scroll_ball/scrolla_basso")
  8.    {
  9.       gotoAndStop("logic");
  10.       play();
  11.    }
  12. }
  13.